import instance from "../http"

function homeIndex(){
  return instance({
    method:"GET",
    url:"/index/index"
  })
}

//详情页列表
function BrandList(data){
  return instance({
    method:"GET",
    url:"/brand/listaction",
    data
  })
}
//brand厂家制造的详情
function BrandDetail(data){
  return instance({
    method:"GET",
    url:"/brand/detailaction",
    data
  })
}
//商品列表页
function goodsList(data){
  return instance({
    method:"GET",
    url:"/goods/goodsList",
    data
  })
}
//商品详情页数据
function goodsDetail(data){
  return instance({
    method:"GET",
    url:"/goods/detailaction",
    data
  })
}
export default {
  homeIndex,
  BrandList,
  BrandDetail,
  goodsList,
  goodsDetail
}